
<?php echo $this->Form->create('Movimientosvaldes', array('action' => 'movimientovaldes')); ?>
<div class="widget">
    <div class="whead"><h6>MOVIMIENTOS DE VALDES</h6><div class="clear"></div></div>
    <div class="shownpars">
        <table cellpadding="0" cellspacing="0" border="0" class="dTable">
            <thead>
                <tr>
                    <th>Nro</th>
                    <th>Valde</th>
                    <th>Cantidad</th>
                    <th>Peso Total</th>
                    
                    <th>Acciones</th>
                </tr>
            </thead>
            <tbody>
                <?php $i = 1; ?>
                <?php foreach ($movimientosvaldes as $emp): ?> 
                 
                              
                <tr <?php echo fmod($i, 2) ? "class = bg" : "";?>>
                    <td><?php echo $i;$i++; ?></td>
                    <td><?php echo $emp['Valde']['nombre']; ?></td>
                    
                    
                    <td><?php echo $emp['Movimientosvalde']['cantidad']; ?></td>
                    <td><?php echo $emp['Movimientosvalde']['pesototal']; ?></td>
                    
                    <td>
                    
                        <?php echo $this->Html->link($this->Html->image('/images/edit.png', array("alt" => 'Editar', 'title' => 'editar')), array('action' => 'editar', $emp['Movimientosvalde']['id']), array('escape' => false)); ?>&nbsp;
                        
                        <?php echo $this->Html->link('ELIMINAR',array('action'=>'eliminar',$emp['Movimientosvalde']['id']),array('class' => 'inner_a'),('Desea realmente eliminar?')); ?>
                    </td>
                </tr>
                <?php endforeach; ?>                
            </tbody>
        </table>
    </div> 
</div> 


  